package com.ss.pj.sc10.service.feign.fallback;

import com.ss.pj.sc01.pojo.Order;
import com.ss.pj.sc01.vo.JsonResult;
import com.ss.pj.sc10.service.feign.OrderFeignService;
import org.springframework.stereotype.Component;

/**
 * @author 叁昇
 * @create 2020-11-24-18:34
 */
@Component
public class OrderFeignServiceFB implements OrderFeignService {
    @Override
    public JsonResult<Order> getOrder(String orderId) {
        return JsonResult.err("无法获取商品订单");
    }

    @Override
    public JsonResult addOrder() {
        return JsonResult.err("无法保存订单");
    }
}
